Skip to content

SPA Solver Optimization for Max Course Coverage#17

Draft
google-labs-jules[bot] wants to merge 1 commit intomainfrom
spa-solver-optimization-18107622259597320033
Draft

SPA Solver Optimization for Max Course Coverage#17
google-labs-jules[bot] wants to merge 1 commit intomainfrom
spa-solver-optimization-18107622259597320033

Conversation

@google-labs-jules
Copy link
Contributor

Improved the SPA scheduling solver to better handle conflicts.

  1. The solver now detects "Absolute Conflicts" (where two groups have NO compatible options) and reports an error immediately.
  2. For complex conflicts (where a combination of 3+ groups fails), the solver now "drops" the minimum number of courses necessary to produce a valid schedule, prioritizing the maximization of arranged courses.
  3. The UI now displays which courses were dropped (missing) for each schedule option.
  4. Missing courses incur a score penalty (-10 points each).

PR created automatically by Jules for task 18107622259597320033 started by @OsakaLOOP

…flicts

- Update `dist/static/js/solver.js` to implement a Max-Subset DFS algorithm.
- Add absolute conflict detection to fail fast on pairwise incompatibility.
- Add logic to skip courses (pruning) to resolve complex conflicts while maximizing the total count.
- Update `dist/index.html` to display a warning for missing courses in the schedule details.
- Apply a score penalty for missing courses.
@google-labs-jules
Copy link
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants